package com.ruoyi.qcsystem.service;

import com.github.pagehelper.PageInfo;
import com.ruoyi.qcsystem.domain.entity.QualityConfirmation;
import com.ruoyi.qcsystem.domain.entity.QualityMoldConfirmation;

import java.util.List;

public interface QcMoldDataService {

    PageInfo<QualityMoldConfirmation> qualityConfirmationList(int lineId, int pageNub, int pageSize, String startTime, String endTime, String mpn, String lot);

    List<com.ruoyi.ruoyictmanage.domain.entity.Line> lineList();

    int addQualityConfirmation(QualityMoldConfirmation qualityConfirmation);

    int getMachineNumber(Integer lineId, long processId);

    int updateQualityConfirmation(QualityMoldConfirmation qualityConfirmation);

    int confirmQualityConfirmation(Long qcId, String confirmer);

    //弃用
    int getQualityConfirmationCountByUserId(Long userId, Long qcId);

    int deleteQualityConfirmation(Long qcId);

    List<QualityMoldConfirmation> qualityConfirmationList(Integer lineId, String startTime, String endTime, String mpn, String lot);

    int getNewMoldDataIfNull(int lineId);
}
